<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>{$appConfigs.title}</title>

    <link rel="stylesheet" type="text/css" href="{$contextPath}/pas/easyui/themes/{$page_theme | default: 'default'}/easyui.css">
    <link rel="stylesheet" type="text/css" href="{$contextPath}/pas/easyui/themes/icon.css">
    <link rel="stylesheet" type="text/css" href="{$contextPath}/pas/style/my.css">
    <script type="text/javascript" src="{$contextPath}/pas/easyui/jquery.min.js"></script>
    <script type="text/javascript" src="{$contextPath}/pas/easyui/jquery.easyui.min.js"></script>
    <script type="text/javascript" src="{$contextPath}/pas/javascript/my.js"></script>
    
</head> 
<body onpageshow="resetPagination('dg')">
    {datagrid id="dg" datasource="/invest/AssetsPriceSpiderService/findAll.do" view="i_assets_price_spider"}
    {form id="dlg" view="i_assets_price_spider" }
    
    <script>
    function fetchAll() {
		$.getJSON('/invest/AssetsPriceSpiderService/fetchAll.do', function(data){
            $.messager.show({
                title: '成功',
                msg: '操作成功！'
            });
		});
    }
    field_formatters.url=function (value, row, index){
    	if(value)
    		return "<a target='_blank' href='"+value+"'>"+value+"</a>";
    	else
    		return "";
    }
    </script>
</body>
</html>